docs: don't refer to NO_WINDOW flag
authorWilliam Jon McCann <william.jon.mccann@gmail.com>
Tue, 21 Jan 2014 21:12:32 +0000 (16:12 -0500)
committerWilliam Jon McCann <william.jon.mccann@gmail.com>
Tue, 21 Jan 2014 23:57:38 +0000 (18:57 -0500)
gtk/gtkwidget.c

index aa92ea56508121ecd43760a0e64aa01cc527b8a6..c0220f5fec949e1ad1bdd0bd672af5223d4033f8 100644 (file)
@@ -10513,9 +10513,10 @@ _gtk_widget_restore_size_request (GtkWidget *widget,
  * so be careful. This function must be called while a widget is
  * unrealized. Consider gtk_widget_add_events() for widgets that are
  * already realized, or if you want to preserve the existing event
- * mask. This function can't be used with #GTK_NO_WINDOW widgets;
- * to get events on those widgets, place them inside a #GtkEventBox
- * and receive events on the event box.
+ * mask. This function can't be used with widgets that have no window.
+ * (See gtk_widget_get_has_window()).  To get events on those widgets,
+ * place them inside a #GtkEventBox and receive events on the event
+ * box.
  **/
 void
 gtk_widget_set_events (GtkWidget *widget,